package com.zhiying.service;

import java.util.List;

import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.query.Param;

import com.zhiying.domain.CMS_User;
import com.zhiying.domain.User;

public interface LoginService{
	
	List<User> showUser(Pageable pageable,String name,int pwd);
	
//	List<User> showUsers();
    
	void insertUser(User user);
	
	void delUser();
	
	void update();
	
	CMS_User getUserInfoByByPasswordandUser(@Param("loginName") String loginname,@Param("loginPassword") String password);
	/* 根据用户名和密码获取用户信息 */
	CMS_User getUserInfoByUserName(@Param("loginName") String loginname);
	/* 根据用户名称获取用户信息 */
}


